PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawPie Method / drawPie(PDFPen,double,double,double,double,double,double,double) Method
that determines the color, width, and style of the pie shape.
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
Rotation angle of the bounding rectangle that defines the pie.
In This Topic
    drawPie(PDFPen,double,double,double,double,double,double,double) Method
    In This Topic
    Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
    Syntax
    public void drawPie( 
       PDFPen pen,
       double x,
       double y,
       double width,
       double height,
       double startAngle,
       double sweepAngle,
       double rotation
    )

    Parameters

    pen
    that determines the color, width, and style of the pie shape.
    x
    The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    y
    The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes.
    width
    Width of the bounding rectangle that defines the ellipse from which the pie shape comes.
    height
    Height of the bounding rectangle that defines the ellipse from which the pie shape comes.
    startAngle
    Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
    sweepAngle
    Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
    rotation
    Rotation angle of the bounding rectangle that defines the pie.
    See Also